package com.itheima.service;

import com.itheima.dto.RoleDto;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface RoleService extends IService<Role> {
    boolean addRole(RoleDto roleDto);

    List<Role> findAll();

    boolean delete(Long id);

    List<Role> findRole(QueryPageBean queryPageBean);
}
